import 'package:ble_demo/generated/json/base/json_convert_content.dart';

class ScanResultDeviceEntity with JsonConvert<ScanResultDeviceEntity> {
	ScanResultDeviceBleDevice bleDevice;
}

class ScanResultDeviceBleDevice with JsonConvert<ScanResultDeviceBleDevice> {
	ScanResultDeviceBleDeviceDevice device;
	String key;
	String mac;
	int rssi;
	String scanRecord;
	int timestampNanos;
}

class ScanResultDeviceBleDeviceDevice with JsonConvert<ScanResultDeviceBleDeviceDevice> {
	String address;
	String addressForLog;
	int appearance;
	ScanResultDeviceBleDeviceDeviceBluetoothClass bluetoothClass;
	bool bluetoothDock;
	int bondState;
	bool connected;
	bool encrypted;
	bool gearIsConnected;
	int leDeviceType;
	int messageAccessPermission;
	int phonebookAccessPermission;
	int remoteRssf;
	int simAccessPermission;
	int type;
}

class ScanResultDeviceBleDeviceDeviceBluetoothClass with JsonConvert<ScanResultDeviceBleDeviceDeviceBluetoothClass> {
	int deviceClass;
	int majorDeviceClass;
	int peripheralMinorClass;
	int peripheralMinorSubClass;
}
